<html xmlns:th="http://www.thymeleaf.org">
<header>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</header>
<body>

	<div th:if="${message}">
		<h2 th:text="${message}" />
	</div>

	<div>
		<form method="POST" enctype="multipart/form-data" action="/au/a/1/1">
			<table>
				<tr>
					<td>File to upload:</td>
					<td><input type="file" name="file"  /></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" value="Upload" /></td>
				</tr>
			</table>
		</form>
	</div>

	<div>
		<ul>
			<li th:each="file : ${files}">
			<a
				th:href="'/au/a/files/'+${file.savedFileName}"
				th:text="${file.originalFileName}" />
			<a
				th:href="'/au/a/files/delete/'+${file.id}"
				th:text="删除" />
			</li>
		</ul>
	</div>

</body>
</html>
